<?php slot('title','Encuesta | Registro'); ?>
<h3 align="center">Registrarse para realizar encuesta </h3>
<form action ="<?php echo url_for('registro/submit')  ?>" method="post" >
    <table align="center" class="tableForm">
        <?php foreach ($form as $valor): ?>
        <?php if(preg_match("#type=['\"]hidden['\"]#", $valor->render())):
                echo $valor->render();
                continue;
                endif;
        ?>
            <tr>
                <td class="formLabel"><?php echo $valor->renderLabel(); ?></td>
                <td class="tdSeparacion">&nbsp;</td>
                <td><?php echo $valor->render(); ?></td>
                <td class="tdSeparacion">&nbsp;</td>
                <td class="formError"><?php echo $valor->renderError(); ?></td>
            </tr>
            <tr class="trSeparator">
                <td colspan="3" ></td>
            </tr>
        <?php endforeach; ?>
            <tr><td colspan="3" class="tdSubmit"><input type="submit" value="Enviar" class="btnSubmit" /> </td></tr>
    </table>
</form>